Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a release pipeline ⛏ #78

Merged
merged 2 commits into from
Jun 14, 2019

Conversation

vdemeester
Copy link
Member

@vdemeester vdemeester commented Jun 13, 2019

Changes

This will need to be run manually for the first(s) releases, but it
sets pieces in place and help the dogfooding effort for Tekton
Pipelines.

It reuses golang tasks from the tektoncd/catalog and adds a
goreleaser Task (using goreleaser).

The pipeline runs the lint, then build the command and run the unit
tests. It finaly cross build the binary for all targeted architecture
and system and publish a draft release.

Although this should be considered still a work in progress, it is
still usable and will be run to make the v0.1.0 release of
tektoncd/cli.

/cc @sthaha @chmouel

This is slightly blocked by #77 (although both can be merged asynchronously)

Signed-off-by: Vincent Demeester [email protected]

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide
for more details.

@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vdemeester

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jun 13, 2019
@vdemeester vdemeester added this to the 0.1.0 🐱 milestone Jun 13, 2019
@vdemeester
Copy link
Member Author

@sthaha @chmouel @hrishin this can be test if :

  1. you modify the PipelineResource to target your fork
  2. you create and push a dummy tag on your fork
  3. you create a secret based on a token that has repo:admin as security clearance 👼

This will need to be run manually for the first(s) releases, but it
sets pieces in place and help the dogfooding effort for Tekton
Pipelines.

It reuses golang tasks from the tektoncd/catalog *and* adds a
`goreleaser` Task (using goreleaser).

The pipeline runs the lint, then build the command and run the unit
tests. It finaly cross build the binary for all targeted architecture
and system and publish a draft release.

Although this should be considered still a work in progress, it is
still usable and will be run to make the v0.1.0 release of
tektoncd/cli.

Signed-off-by: Vincent Demeester <[email protected]>
@chmouel
Copy link
Member

chmouel commented Jun 14, 2019

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 14, 2019
@tekton-robot tekton-robot merged commit 58f68b8 into tektoncd:master Jun 14, 2019
@vdemeester vdemeester deleted the release-pipeline branch June 14, 2019 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants